<html xmlns:th="http://www.thymeleaf.org">
	<head>
		<link rel="stylesheet" href="https://www.layuicdn.com/layui/css/layui.css">
		<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
		<script src="https://www.layuicdn.com/layer/layer.js"></script>
		<style type="text/css">
			.item{
				line-height: 36px;
			}
		</style>
	</head>
	<body>
		<div class="layui-col-xs6 layui-col-xs-offset1" style="margin-top: 20px">
			<div class="layui-form layui-form-pane">
			  <div class="layui-form-item">
			    <label class="layui-form-label">头像</label>
			    <div class="layui-input-block">
			      <div class="">
					  <img th:src="@{${teacher.userUrl}}"
						   height="100px" width="100px" style="margin-left: 10px">
			      	<!--<img th:src="@{'http://192.168.0.105/image/testsystem/teacher/' + ${teacher.username} + '.jpg'}"
			      		 height="100px" width="100px" style="margin-left: 10px">-->
			      </div>
			    </div>
			  </div>
			  <div class="layui-form-item">
			    <label class="layui-form-label">姓名</label>
			    <div class="layui-input-block">
			      <div class="layui-input item" th:text="${teacher.name}"></div>
			    </div>
			  </div>
			  <div class="layui-form-item">
			    <label class="layui-form-label">电子邮箱</label>
			    <div class="layui-input-block">
			    	<div class="layui-input item" th:text="${teacher.email}"></div>
			    </div>
			  </div>
			  <div class="layui-form-item">
			    <label class="layui-form-label">QQ</label>
			    <div class="layui-input-block">
			    	<div class="layui-input item" th:text="${teacher.qq}"></div>
			    </div>
			  </div>
			  <div class="layui-form-item">
			    <label class="layui-form-label">微信</label>
			    <div class="layui-input-block">
			    	<div class="layui-input item" th:text="${teacher.wechat}"></div>
			    </div>
			  </div>
			  <div class="layui-form-item">
			    <label class="layui-form-label">电话号码</label>
			    <div class="layui-input-block">
			    	<div class="layui-input item" th:text="${teacher.phone}"></div>
			    </div>
			  </div>
			</div>
		</div>
	</body>
</html>